<?php
// $
/**
 * @file
 * Contains the heartbeat message RSS row style plugin.
 */

/**
 * Plugin which performs a node_view on the resulting object
 * and formats it as an RSS item.
 */
class views_plugin_row_heartbeat_rss extends views_plugin_row {

  function render($row) {

    $item = new StdClass();
    if (isset($row->heartbeat_activity_message)) {
      $item->title = $row->heartbeat_activity_message;
      $item->description = $row->heartbeat_activity_message;
      $item->time = $row->heartbeat_activity_timestamp;
    }

    return theme($this->theme_functions(), $this->view, $this->options, $item);
  }
}

